#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<math.h>
double pi = 3.14159;
int main()
{
    int h, r, x;
    double v, a;
    scanf("%d%d", &h, &r);
    v = h * r * r * pi;
    x = 20000 / v;
    a = x * v;
    if (a < 20000) x = x + 1;
    printf("%d\n", x);
    return 0;
}